package com.cards;

public class Motor extends Vehicle {

    private int power = 0;
    private int gear  = 0;


    public Motor() {
        mType = Vehicle.TYPE_MOTOR;
    }


    public Motor(int id, int cylinder, int power, int gear, int weight, int speed) {
        mType = Vehicle.TYPE_MOTOR;
        setId(id);
        setCylinder(cylinder);
        setPower(power);
        setGear(gear);
        setWeight(weight);
        setSpeed(speed);
    }


    public void setPower(int power) {
        this.power = power;
    }


    public int getPower() {
        return this.power;
    }


    public void setGear(int gear) {
        this.gear = gear;
    }


    public int getGear() {
        return this.gear;
    }

}
